<?php
/**
 * @copyright Copyright (c) 2021 勾股工作室
 * @license https://opensource.org/licenses/Apache-2.0
 * @link https://www.gougucms.com
 */

declare (strict_types = 1);

namespace app\home\controller;

use app\home\BaseController;

use think\facade\View;

class Error 
{
    // 空控制器 
    public function __call($method, $arguments){ 
        // $url=Url('/home/index')->__toString();;
        //  // dump($url);die;
        #跳转至home/index
        return redirect('/home/index');
       
        //exit;

    // api模式 
    //     $result = [ 'status' => 0, 'message' => '找不到该控制器', 'result' => null, ]; 
    //     return json($result,400); 


        
    } 

}
